﻿using System;
using System.Collections.Generic;
using System.Text;
using EnCor.ObjectBuilder;
using System.Collections.Specialized;

namespace EnCor.Security
{
    [Assembler(typeof(CustomAuthenticationProviderAssembler))]
    public class CustomAuthenticationProviderConfig : AuthenticationProviderConfig
    {
        private readonly NameValueCollection _Parameters = new NameValueCollection();

        protected override bool OnDeserializeUnrecognizedAttribute(string name, string value)
        {
            _Parameters.Add(name, value);
            return true;
        }

        public NameValueCollection Parameters
        {
            get { return _Parameters; }
        }
    }
}
